package com.yaofeng.mybatis.util;

import org.apache.commons.lang3.RandomStringUtils;

/**
 * 获取随机数
 * Created by yaofeng on 2019/8/30.
 */
public class SaltUtil {


    /**
     * 获取随机数值和字符 长度20
     * @return
     */
    public  static  String  salt(){
        return   RandomStringUtils.randomAlphanumeric(20);
    }


}
